/*
-------------------------------------------------------------------
BIE is Copyright 2001-2004 Brunswick Corp.
-------------------------------------------------------------------
Please read the legal notices (docs/legal.txt) and the license
(docs/bie_license.txt) that came with this distribution before using
this software.
-------------------------------------------------------------------
 */
/*
 * DBPool.java
 *
 * Created on December 5, 2002, 3:08 PM
 */

package tests.jd;
import org.apache.commons.pool.*;
import org.apache.commons.dbcp.*;
import java.sql.*;
import org.apache.commons.pool.impl.*;
/**
 *
 * @author  jdepons
 */
public class DBPool {
    
    /** Creates a new instance of DBPool */
    public DBPool() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception{
        
        
 
        Connection conn = dscf.createConnection() ;
        
        Statement s = conn.createStatement();
        ResultSet r = s.executeQuery("select * from version");
        System.out.println("result = " + r.getString(1));
        conn.close();
    }
    
}
